package com.menker.app;


public class Constants {
    public static final String WECHAT_APP_ID = "wx41e4a26df07296e3";

    public static final class API {
        // 测试服务器
//        public static final String ENDPOINT = "http://taoke.pptzb.com/";
        // 生产服务器
        public static final String ENDPOINT = "https://app.menker.cn/";

        public static final String ORDER_URL = "https://h5.m.taobao.com/mlapp/olist.html";

        public static final String REQUEST_ITEM_URL = "https://pub.alimama.com/items/search.json?q=";

        public static final String KEY_TICKET = "ticket";
        public static final String KEY_SPLASH = "byWelcome";

        public static final class PATH {
            public static final String GET_APP_INFO = "/Api/Common/AppInfo";
            public static final String LOGIN = "/Api/User/Login";
            public static final String THIRD_LOGIN = "/Api/User/ThirdLogin";

            public static final String GET_CHANNEL_ALL = "/Api/Channel/ReadForAll";
            public static final String GET_CHANNEL_SUB = "/Api/Channel/ReadByParentId";

            public static final String CREATE_ORDER = "/Api/ProductOrder/create";
            public static final String GET_SHARE_INFO = "/Api/inventory/GetShare";

            public static final String UPLOAD_IMAGE = "/Api/Common/Upload";
            public static final String GET_MSG = "/Api/Message/GetUnReadCount";
            public static final String GET_SHARE = "/api/Inventory/GetShareForCreate";
        }
    }

    public static final class ACTIVITY_CODE {
        public static final int REQUEST_NEW = 10000;
        public static final int REQUEST_IMAGE = 10001;

        public static final int RESULT_REFRESH = 20000;
    }
    public static final class PLATFORM {
        public static final String WECHAT = "10";
        public static final String QQ = "20";
        public static final String WEIBO = "30";
        public static final long DATA_UPDATE_CYCLE = 604800000;
    }
}
